package com.authine.cloudpivot.ext.dto;

import com.authine.mvp.app.launcher.domain.SelectorFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Date;
import java.util.List;

/**
 * @ClassName FlowQueryDto
 * @Description: 流程列表查询参数
 * @Author bwh
 * @Date 2021/10/25
 * @Version V1.0
 **/
@Data
@Schema(description = "FlowQueryDto")
public class FlowQueryDto {
    @Schema(description = "业务id")
    private String bizObjectId;
    @Schema(description = "todoType取值：待办类型：1-待办，2-待阅，3-已办，4-已阅")
    private Integer todoType;
    @Schema(description = "应用编码")
    private String appCode;
    @Schema(description = "流程名称")
    private String instanceName;
    @Schema(description = "模板编码")
    private String moduleCode;
    @Schema(description = "发起人id")
    private List<SelectorFormat> originator;
//    private SelectorFormat originator;
    @Schema(description = "开始时间")
    private String startTime;
    @Schema(description = "结束时间")
    private String endTime;
    @Schema(description = "page")
    private Integer page;
    @Schema(description = "size")
    private Integer size;
    @Schema(description = "流程状态")
    private String instanceState;
    @Schema(description = "流程编码")
    private String workflowCode;
    @Schema(description = "bizObjectIds")
    private List<String> bizObjectIdList;
//    @Schema(description = "开始时间", pattern = "yyyy-MM-dd HH:mm:ss")
//    private Date startTime;
//    @Schema(description = "结束时间", pattern = "yyyy-MM-dd HH:mm:ss")
//    private Date endTime;
}
